﻿<?xml version="1.0" encoding="utf-8"?>
<Canvas xmlns="http://schemas.microsoft.com/client/2007" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" Width="800" Height="600">
  <MediaElement x:Name="VideoWindow" Width="800" Height="600" />
  <Image x:Name="PlaceholderImage" Width="800" Height="600" IsHitTestVisible="false" Visibility="Collapsed" />

    <Canvas x:Name="CaptionArea" Width="790" Height="50" Background="#FF000000" Opacity="0.5" Canvas.Left="5" Canvas.Top="500" Visibility="Collapsed" IsHitTestVisible="False">
	  <TextBlock x:Name="CaptionText" Width="790" Height="14" FontSize="20" TextWrapping="Wrap" Foreground="#FFFFFFFF" Text="CaptionText"/>
  </Canvas>

  <Canvas x:Name="FullScreenArea" Width="800" Height="600" Visibility="Collapsed" Background="Black">
    <Canvas x:Name="FullScreenVideoWindow" Width="800" Height="600">
      <Canvas.Background>
        <VideoBrush SourceName="VideoWindow" Stretch="Uniform" />
      </Canvas.Background>
    </Canvas>

    <Canvas Opacity="0.5" x:Name="FullScreenCaptionArea" Width="790" Height="50" Canvas.Left="5" Canvas.Top="500" Background="#FF000000" Visibility="Collapsed" IsHitTestVisible="False">
      <TextBlock x:Name="FullScreenCaptionText" Width="790" Height="14" FontSize="20" TextWrapping="Wrap" Foreground="#FFFFFFFF" Text="FullScreenCaptionText"/>
    </Canvas>
  </Canvas>
</Canvas>